﻿<div ng-class="ddObj.divclass" id="{{ddObj.divclass}}" >
    <!--呈现的内容
    ng-click="updoptype(ddObj.optype,ddObj.optype)"
    -->
    <div ng-repeat="dditem2 in ddObj.objinfo"  ng-click="updopsort(ddObj.optype,ddObj.optype)"
        ng-if="ddObj.state==dditem2.ddvalue" ng-class="{newlyaddejgrjsjzdj:1==dditem2.ddvalue}">
        <i class="iconfont" ng-if="ddObj.ddicon==''" ng-bind-html="dditem2.ddicon | to_html">
        </i><i class="iconfont" ng-if="ddObj.ddicon!=''" tooltips tooltip-side="left" tooltip-template="倒序/正序" ng-bind-html="ddObj.ddicon | to_html">
        </i><span>{{dditem2.ddname}}</span><span class="caret"></span>
    </div>

    <!--下拉列表内容-->
    <ul ng-class="ddObj.divulclass"  ng-show="ddObj.showflag" ng-style="ddObj.ddstyle">
        <li ng-repeat="dditem in ddObj.objinfo" ng-click="updoptype(dditem.ddvalue,ddObj.optype)"
            ng-if="getOptype(dditem.ddvalue)" ng-class="{newlyaddejgrjsjzdj:1==dditem.ddvalue}">
            <i class="iconfont" ng-bind-html="dditem.ddicon | to_html"></i>{{dditem.ddname}}</li>
    </ul>
</div>
